<div id="main-content">
  <div class="container-fluid">
    <div class="row-fluid">
			<div class="span12">
				<div class="nonboxy-widget">
					<div class="widget-head">
						<h5><i class="black-icons blocks_images"></i><?=$title?></h5>
					</div>
					<div class="widget-content">
						<div class="widget-box">
              <?=$this->form_eksternal->form_open("", 'class=" form-horizontal well" id="formoutlet"', 
                      array("id_outlet" => $id_outlet))?>
              <div class="row-fluid">
                    <div class="span6 form-horizontal well tab-pane">
								<fieldset>
									<div class="control-group">
										<label class="control-label">Tanggal</label>
										<div class="controls">
                      <?php print $this->form_eksternal->form_date("tanggal_buat", date("Y-m-d"), "tanggal_buat", "")?>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">Topic</label>
										<div class="controls">
                      <?php 
                      $kategori = array(
                          1 => "SDM",
                          2 => "Service",
                          3 => "Administrasi",
                          4 => "Promo",
                          5 => "Tools",
                          6 => "IT - Software & Hardware",
                          7 => "Parts",
                          9 => "Lainnya"
                      );
                      print $this->form_eksternal->form_dropdown('kategori', $kategori, array());?>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">Kategori</label>
										<div class="controls">
                      <?php print $this->form_eksternal->form_input('kategori_view', "")?>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">Sumber</label>
										<div class="controls">
                      <?php print $this->form_eksternal->form_input('sumber_info_view', "")?>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">Deskripsi</label>
										<div class="controls">
                      <?=$this->form_eksternal->form_textarea('problem', "")?>
										</div>
									</div>
								</fieldset>
              </div>
                    <div class="span6 form-horizontal well tab-pane">
								<fieldset>
									<div class="control-group">
										<label class="control-label">Tindakan</label>
										<div class="controls">
                      <?=$this->form_eksternal->form_textarea('corrective', "")?>
										</div>
									</div>
                  <div class="control-group">
										<label class="control-label">Due Date</label>
										<div class="controls">
                      <?php print $this->form_eksternal->form_date("due_date", "", "due_date", "")?>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">Status</label>
										<div class="controls">
                      <?=$this->form_eksternal->form_input('status_view', "")?>
										</div>
									</div>
                  <div class="control-group">
										<label class="control-label">PIC</label>
										<div class="controls">
                      <?php
                      print $this->form_eksternal->form_autocomplate("pic_pica", "id_pic_pica", 
                                "pic_pica_view", "id_pic_pica_view", site_url("outlet/tambahan/auto-pic-pica"), 
                                $view_pic, $dt->id_pic_pica);
                      ?>
										</div>
									</div>
								</fieldset>
              </div>
            </div>
								<div class="form-actions">
									<button class="btn btn-primary" type="submit">Save changes</button>
									<button class="btn" onclick="history.go(-1);return false;">Cancel</button>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
  </div>
</div>